package com.jinniulive.platform.bean;

/**
 * Created by Administrator on 2016/12/9.
 */

public class NormalChat {

    /**
     * Head : {"Cmd":166,"RoomID":201005,"UserID":9406572,"Flag":0}
     * Content : {"MsgType":2,"SenderID":9406572,"ReceiverID":0,"ChatMsg":"Ffgh","Font":{"Name":"微软雅黑","Size":14,"Color":"#FFFFFF","Bold":1,"UnderLine":1,"Italic":1}}
     */

    private HeadBean Head;
    private ContentBean Content;

    public HeadBean getHead() {
        return Head;
    }

    public void setHead(HeadBean Head) {
        this.Head = Head;
    }

    public ContentBean getContent() {
        return Content;
    }

    public void setContent(ContentBean Content) {
        this.Content = Content;
    }

    public static class HeadBean {
        /**
         * Cmd : 166
         * RoomID : 201005
         * UserID : 9406572
         * Flag : 0
         */

        private int Cmd;
        private int RoomID;
        private int UserID;
        private int Flag;

        public int getCmd() {
            return Cmd;
        }

        public void setCmd(int Cmd) {
            this.Cmd = Cmd;
        }

        public int getRoomID() {
            return RoomID;
        }

        public void setRoomID(int RoomID) {
            this.RoomID = RoomID;
        }

        public int getUserID() {
            return UserID;
        }

        public void setUserID(int UserID) {
            this.UserID = UserID;
        }

        public int getFlag() {
            return Flag;
        }

        public void setFlag(int Flag) {
            this.Flag = Flag;
        }
    }

    public static class ContentBean {
        /**
         * MsgType : 2
         * SenderID : 9406572
         * ReceiverID : 0
         * ChatMsg : Ffgh
         * Font : {"Name":"微软雅黑","Size":14,"Color":"#FFFFFF","Bold":1,"UnderLine":1,"Italic":1}
         */

        private int MsgType;
        private int SenderID;
        private int ReceiverID;
        private String ChatMsg;
        private FontBean Font;

        public int getMsgType() {
            return MsgType;
        }

        public void setMsgType(int MsgType) {
            this.MsgType = MsgType;
        }

        public int getSenderID() {
            return SenderID;
        }

        public void setSenderID(int SenderID) {
            this.SenderID = SenderID;
        }

        public int getReceiverID() {
            return ReceiverID;
        }

        public void setReceiverID(int ReceiverID) {
            this.ReceiverID = ReceiverID;
        }

        public String getChatMsg() {
            return ChatMsg;
        }

        public void setChatMsg(String ChatMsg) {
            this.ChatMsg = ChatMsg;
        }

        public FontBean getFont() {
            return Font;
        }

        public void setFont(FontBean Font) {
            this.Font = Font;
        }

        public static class FontBean {
            /**
             * Name : 微软雅黑
             * Size : 14
             * Color : #FFFFFF
             * Bold : 1
             * UnderLine : 1
             * Italic : 1
             */

            private String Name;
            private int Size;
            private String Color;
            private int Bold;
            private int UnderLine;
            private int Italic;

            public String getName() {
                return Name;
            }

            public void setName(String Name) {
                this.Name = Name;
            }

            public int getSize() {
                return Size;
            }

            public void setSize(int Size) {
                this.Size = Size;
            }

            public String getColor() {
                return Color;
            }

            public void setColor(String Color) {
                this.Color = Color;
            }

            public int getBold() {
                return Bold;
            }

            public void setBold(int Bold) {
                this.Bold = Bold;
            }

            public int getUnderLine() {
                return UnderLine;
            }

            public void setUnderLine(int UnderLine) {
                this.UnderLine = UnderLine;
            }

            public int getItalic() {
                return Italic;
            }

            public void setItalic(int Italic) {
                this.Italic = Italic;
            }
        }
    }
}
